From: Carsten Dominik Date: Thu, 3 Sep 2009 07:19:15 +0000 (+0000) Subject: 2009-09-03 Carsten Dominik X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~324^2~10674 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=cbb213b778fa8bccf5c9cef42044a3f777ab085b;p=emacs.git 2009-09-03 Carsten Dominik * org-agenda.el (org-agenda-dim-blocked-tasks): Make sure we are referencing the start of the line. --- diff --git a/lisp/org/org-agenda.el b/lisp/org/org-agenda.el index c776e33c38d..feea27dfb1e 100644 --- a/lisp/org/org-agenda.el +++ b/lisp/org/org-agenda.el @@ -2573,7 +2573,9 @@ bind it in the options section.") :from 'todo :to 'done))))))) (if org-blocked-by-checkboxes (setq invis1 nil)) - (setq b (if invis1 (max (point-min) (1- (point))) (point)) + (setq b (if invis1 + (max (point-min) (1- (point-at-bol))) + (point-at-bol)) e (point-at-eol) ov (org-make-overlay b e)) (if invis1